package Events 
{
	import Core.ImageContainer;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Serg de Adelantado
	 */
	public class ImageEvent extends Event 
	{		
		public static const IMAGE_LOADED:String = 'IMAGE_LOADED';
		public static const IMAGE_UPLOADED:String = 'IMAGE_UPLOADED';
		public static const IMAGE_UPDATED:String = 'IMAGE_UPDATED';
		public static const UPDATE_COMPLETE:String = 'UPDATE_COMPLETE';
		public static const UPDATE_ERROR:String = 'UPDATE_ERROR';
		public static const DELETER_OVER:String = 'DELETER_OVER';
		public static const DELETER_OUT:String = 'DELETER_OUT';
			
		public function ImageEvent(ATtype:String) 
		{
			super(ATtype);			
		}
		
		public function get Image():ImageContainer 
		{
			return ImageContainer(target);
		}
	}
}